Ping Test
Use this ping test to trouble shoot network or server issues. This test will read input.txt and for each line will try to ping the IP or host. If the IP/host responde the script will try the next and so on. If the IP/host fails the script outputs the IP/host, date and time to PING.LOG.
CODE:
:start
@echo off
for /f "tokens=*" %%a in (input.txt) do (
echo Checking connection
ping -n 1 %%a -w 10000 >nul
if errorlevel 1 (
cls
echo %%a failed at %DATE% %TIME% >>PING.LOG
)
cls
echo %%a Success %DATE% %TIME%
)
goto start
Use at your own risk
Input File:
127.0.0.1
server.domail.local
8.8.8.8
Use at your own risk
Download:
Ping Test.zip
Tag(s):
Batch Could you spare a few coins?
Dogecoin - D838u1m9YRdzVVu8CZ1JsR78WHgQmUZSr8
Bitcoin - 13iKLoPXcWEYcGtqCi4UcjGQEs7r6M6LFc
Thank you